package com.adingxiong.cft.design;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @ClassName 度搜奥
 * @Description TODO
 * @Author xiongchao
 * @Date 2021/5/27 16:27
 **/
public class Square {
    long width;
    public Square(long l) {
        width = l;
    }
    public static void main(String arg[]) {
        Square a, b, c;
        a = new Square(42L);
        b = new Square(42L);
        c = b;
        long s = 42L;

        System.out.println(a ==b);

        System.out.println(c ==b);
        System.out.println(a.equals(s));

        ExecutorService executorService = Executors.newFixedThreadPool(1);

    }
}